<template>
    <div>
        <el-tag v-if="$attrs.row.gender == 1" type="warning">gif</el-tag>
        <el-tag v-else-if="$attrs.row.gender == 2" type="success">视频</el-tag>
        <el-tag v-else-if="$attrs.row.gender == 3" type="danger">主页分享</el-tag>
        <el-tag v-else type="info">文字</el-tag>
    </div>
</template>

<script>
export default {
    name: 'msgType',
}
</script>
